package jp.co.systemi.asp.workflow.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import jp.co.systemi.asp.workflow.validator.RequiredValidator;

@Target( { ElementType.FIELD } )
@Retention(RetentionPolicy.RUNTIME)
public @interface Required {
//    String value();
    // how to specify a validator?
    Class<?> validatorClass() default RequiredValidator.class;
}
